Final Fantasy 3 (US/SNES), Final Fantasy 6 (JP/SFC), Final Fantasy 6 Advance (US,JP,EU/GBA)
Zombie/Rippler Bug Fix patch

CONTENTS:
FF3-ZombieRipA-H.ips: The Fix A patch for a headered SNES ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF3-ZombieRipB-H.ips: The Fix B patch for a headered SNES or SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix B (see below).
FF3-ZombieRipC-H.ips: The Fix C patch for a headered SNES or SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix C (see below).
FF3-ZombieRip-HR.ips: The reverse patch for a headered SNES ROM file. Apply to revert all changes made by the previous 3 patches.
FF3-ZombieRipA-N.ips: The Fix A patch for a non-headered SNES ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF3-ZombieRipB-N.ips: The Fix B patch for a non-headered SNES or SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix B (see below).
FF3-ZombieRipC-N.ips: The Fix C patch for a non-headered SNES or SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix C (see below).
FF3-ZombieRip-NR.ips: The reverse patch for a non-headered SNES ROM file. Apply to revert all changes made by the previous 3 patches.
FF6-ZombieRipA-H.ips: The Fix A patch for a headered SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF6-ZombieRip-HR.ips: The reverse patch for a headered SFC ROM file. Apply to revert all changes made by the SFC fix patches.
FF6-ZombieRipA-N.ips: The Fix A patch for a non-headered SFC ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF6-ZombieRip-NR.ips: The reverse patch for a non-headered SFC ROM file. Apply to revert all changes made by the SFC fix patches.
FF6A-ZombieRipA-U.ips: The Fix A patch for a US GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF6A-ZombieRipA-J.ips: The Fix A patch for a Japanese GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF6A-ZombieRipB-JU.ips: The Fix B patch for a US or Japanese GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix B (see below).
FF6A-ZombieRipC-JU.ips: The Fix C patch for a US or Japanese GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix C (see below).
FF6A-ZombieRip-UR.ips: The reverse patch for a US GBA ROM file. Apply to revert all changes made by the U patches.
FF6A-ZombieRip-JR.ips: The reverse patch for a Japanese GBA ROM file. Apply to revert all changes made by the J patches.
FF6A-ZombieRipA-E.ips: The Fix A patch for a European GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix A (see below).
FF6A-ZombieRipB-E.ips: The Fix B patch for a European GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix B (see below).
FF6A-ZombieRipC-E.ips: The Fix C patch for a European GBA ROM file. Apply to fix the Zombie/Rippler Bug using Fix C (see below).
FF6A-ZombieRip-ER.ips: The reverse patch for a European GBA ROM file. Apply to revert all changes made by the U patches.
readme.txt: This file.
Zombie Rippler.asm: An assembly format index of code changes.
Zombie Rippler.rtf: A text format index of code changes.

AFFECTED AREAS:
SNES: C2/3C09-C2/3C4B, C2/65BE-C2/67D4, C4/736B
SFC: C2/3BF1-C2/3C33, C2/65BE-C2/65D4, C4/736B
GBA US/JP: 08081EE8, 08081F0E, 08089052-080891B1, 080891BC-080891BD, 080891C4-080891C5, 080891D0-080891D3, 0862C4DF
GBA EU: 0808262C, 08082652, 08089A1E-08089B7D, 08089B88-08089B89, 08089B90-08089B91, 08089B9C-08089B9D, 0862C4DF

URGENCY:
EXTREME!! HOLY MOTHER OF MADUIN!!! APPLY THIS RIGHT NOW!!!!

PURPOSE:
The Rippler Lore is unique. It swaps all of the statuses between the caster and the target. A known flaw in Rippler is that is swaps several "invisible" statuses, including Morph and Dog Block. There exists a patch written by Terii Senshi that fixes this; however, it will also be fixed by applying this patch.

A problem Terii Senshi's patch fails to address occurs when a Zombified character is affected by Rippler. If Rippler causes that character to lose their Zombie status, they will still have 0 HP as per the Zombie status...but they will be alive. This is one of a few ways a character can be alive despite having 0 HP. This can be fixed using any of the above patches; however, the nature of the fix depends on which patch is applied.

If Fix A is applied, the entity that loses Zombie status will be healed by an amount of HP equal to the HP of the entity on the other end of Rippler. If Fix B is applied, the entity that loses Zombie status will be healed by an amount of HP equal to 1/8 of their max HP (which is what Revivify does). If Fix C is applied, the entity that loses Zombie status will receive 1 HP.

As of version 1.2 of this patch, the B and C patches have had all of the common changes removed. Now, in order to apply the desired fix algorithm, apply the A patch first to make the standard modifications, followed by whichever patch contains that algorithm (B, C, or neither to keep Fix A). Note that this change means that the Fix B and C patches for SNES are also applicable to SFC.

VERSION HISTORY:
v1.2 (March 3, 2018): Fixed a neglected loop control that made the status exchange algorithm skip a step; also, shrunk the Fix B and C patches (see above) and added GBA patches.

v1.1 (August 2, 2015): Fixed a possible issue with Fix B.

v1.0 (May 11, 2015): Initial release. Originally included only Fix A and Fix B, but Fix C was added later on the same day. Thanks to Terii Senshi for his patch, on which mine is based.